﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TRTCMain.Controls
{
    public partial class CloseMeetingButton : UserControl
    {
        public delegate void BtnClickHandler();
        public event BtnClickHandler BtnClicked;

        public CloseMeetingButton()
        {
            InitializeComponent();
            this.label.Click += HandButton_Click;
            this.pictureBox.Click += HandButton_Click;
        }

        private void HandButton_Click(object sender, EventArgs e)
        {
            BtnClicked?.Invoke();
        }
    }
}
